﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CrmContacto.Contracts.Contracts
{
    [DataContract]
    [Serializable]
    public class CompanyConfiguration
    {
        public CompanyConfiguration()
        {
            CompanyConfigurationKeyValueList = new List<CompanyConfigurationKeyValue>();
        }

        [DataMember]
        public int CompanyId { get; set; }

        [DataMember]
        public string CssFilePath { get; set; }

        [DataMember]
        public string LogoImgFilePath { get; set; }

        [DataMember]
        public List<CompanyConfigurationKeyValue> CompanyConfigurationKeyValueList { get; set; }
    }

    [Serializable]
    [DataContract]
    public class CompanyConfigurationKeyValue
    {
        [DataMember]
        public int CompanyId { get; set; }

        [DataMember]
        public string Key { get; set; }

        [DataMember]
        public string Value { get; set; }
    }
}
